html, body, #root {
  height: 100%;
  margin: 0;
  padding: 0;
}
.ant-spin-nested-loading, .ant-spin-container {
  height: 100%;
}
.ant-spin-nested-loading > div > .ant-spin{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    z-index: 4;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 400px;
}